package com.cf.service;

import com.cf.entity.AccountType;
import com.cf.entity.IdType;
import com.github.pagehelper.PageInfo;

import java.util.List;
import java.util.Map;

public interface AccountTypeService {

    public List<AccountType> selectAllAccountType();


    //动态查找所有的证件
    public PageInfo<AccountType> selectAllAccountTypes(int pagenum, int pagesize, Map map);

    //修改证件类型
    public int updateAccountType(AccountType accountType);


    //添加证件类型
    public int addAccountType(AccountType accountType);


    //逻辑删除证件类型
    public int delAccountType(long id);

    //同通过id查找
    public AccountType selectByIds(long id);
}
